package com.huaxia.day13;

public class PrintThread extends Thread {
    @Override
    public void run() {
         System.out.println(currentThread().getName());
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }

    }
}
